const express = require('express');
const bodyParser = require('body-parser')
const router = express.Router()
router.use(bodyParser.urlencoded({extended:false}))

router.use(require('./db.js'))

const users = require('./controller/Users.js')

router.get('/users/index',users.index)
router.get('/users/find',users.find)
router.post('/users/add',users.add)
router.post('/users/edit',users.edit)
router.get('/users/del',users.del)


module.exports = router;



